home *** CD-ROM | disk | FTP | other *** search
/ Nebula 2 / Nebula Two.iso / SourceCode / MiscKit1.7.1 / MiscKit / Examples / TreeView / TreeButtonCell.h < prev    next >
Encoding:
Text File  |  1995-04-12  |  682 b   |  27 lines

  1. //        Written by Don Yacktman Copyright (c) 1994 by Don Yacktman.
  2. //                Version 1.0.  All rights reserved.
  3. //
  4. //        This notice may not be removed from this source code.
  5. //
  6. //    This program is included in the MiscKit by permission from the author
  7. //    and its use is governed by the MiscKit license, found in the file
  8. //    "LICENSE.rtf" in the MiscKit distribution.  Please refer to that file
  9. //    for a list of all applicable permissions and restrictions.
  10. //    
  11.  
  12.  
  13. #import <appkit/appkit.h>
  14.  
  15. @interface TreeButtonCell:ButtonCell
  16. {
  17.     id parent;
  18. }
  19.  
  20. - parent;
  21. - setParent:anObject;
  22. - (BOOL)trackMouse:(NXEvent *)theEvent
  23.         inRect:(const NXRect *)cellFrame ofView:aView;
  24. - performClick:sender;
  25.  
  26. @end
  27.